package top.cjwtx.holy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.cjwtx.holy.pojo.dto.SacredtokenPwdDTO;
import top.cjwtx.holy.pojo.po.SacredtokenPwd;

import java.util.List;

/**
 * 密码持久层
 */
@Mapper
public interface SacredtokenPwdDao extends BaseMapper<SacredtokenPwd> {

    /**
     * 根据密码仓库id查询归属的密码列表
     * @param ckId
     * @return
     */
    List<SacredtokenPwdDTO> listPwdByCkId(Long ckId);

}
